import type { ILoginParams, IResponseAccount } from '@/types/api/index.js'
import request from '@/utils/request.js'

const API = {
  USER_LOGIN: '/Login/CheckAccount', // 登录
}

// 登录
export const userLoginAPI = (data: ILoginParams | null) => request.post<IResponseAccount>(API.USER_LOGIN, data)
